<?php

namespace api\channel\meituan\alliance;


//只用于拉取订单&请勿用于其他
use app\model\BaseSupplier;
use GaoweiSpace\MeituanPubUnion\Http\Client;
use think\Exception;

class ToShopAgent extends ToShop
{
    public function __construct(array $params = [])
    {
        $baseSupplier = $this->getAgentBaseSupplier(PRODUCT_METUAN_SERV);
        $this->supplierInfo = $baseSupplier;
        $this->apikey = $this->supplierInfo->api_config['apikey'];
        $this->client = new Client($this->apikey, $this->supplierInfo->api_config['utmSource']);

    }

}